package com.hiss.basic.client.system;

import com.hiss.basic.model.system.domain.SysDictItemDomain;
import com.hiss.basic.model.system.request.SysDictItemCreateRequest;
import com.hiss.basic.model.system.request.SysDictItemQueryRequest;
import com.hiss.basic.model.system.request.SysDictItemUpdateRequest;
import com.hiss.basic.model.system.response.SysDictItemQueryResponse;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 系统字典项 service
 */
public interface ISysDictItemService extends IService<SysDictItemDomain> {

    List<SysDictItemQueryResponse> findList(String dictCode);

    Page<SysDictItemQueryResponse> findPageList(SysDictItemQueryRequest request);

    void create(SysDictItemCreateRequest request);

    void update(SysDictItemUpdateRequest request);

    void remove(Long id);

    void removeByDictId(Long dictId);
}
